package org.jeecg.modules.demo3.fly.service.impl;

import org.jeecg.modules.demo3.fly.entity.AxhkLandManagement;
import org.jeecg.modules.demo3.fly.mapper.AxhkLandManagementMapper;
import org.jeecg.modules.demo3.fly.mapper.AxhkWorkManagementMapper;
import org.jeecg.modules.demo3.fly.service.IAxhkLandManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.web.bind.annotation.RequestBody;

import java.io.File;
import java.util.List;
import java.util.Map;

/**
 * @Description: 地块信息s
 * @Author: jeecg-boot
 * @Date:   2021-03-15
 * @Version: V1.0
 */
@Service
public class AxhkLandManagementServiceImpl extends ServiceImpl<AxhkLandManagementMapper, AxhkLandManagement> implements IAxhkLandManagementService {

    @Autowired
    private AxhkLandManagementMapper axhkLandManagementMapper;

    //显示所有地块信息s
    @Override
    public String getLandManagements(String landId) {
        String landList = axhkLandManagementMapper.getLandManagements(landId);
        return landList;
    }

    @Override
    public List<Map<String, Object>> getByMassifname(String massifname) {
        List<Map<String,Object>> getMassifname = axhkLandManagementMapper.getMassifname(massifname);
        return getMassifname;
    }

    @Override
    public List<Map<String, Object>> getAllmap() {
        List<Map<String, Object>> allmap = axhkLandManagementMapper.getAllmap();
        return allmap;
    }

}
